package com.wuyoucar.service.impl;

import com.wuyoucar.entity.TCarinfoSource;
import com.wuyoucar.mapper.TCarinfoSourceMapper;
import com.wuyoucar.service.ICarinfoSourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * 这是根据前台用户填写的车架号和车牌号验证车管所是否存在这辆车
 */
@Service
public class ICarinfoSourceServiceImpl implements ICarinfoSourceService {
    @Autowired
    private TCarinfoSourceMapper tCarinfoSourceMapper;
    @Override
    public TCarinfoSource findCarByCarNumber(Map<String,String> map) {
        return tCarinfoSourceMapper.selectCarByVin(map);
    }

}
